{template "content","header","mobilephone"}
<link rel="stylesheet" href="{CSS_PATH}Mobilephone/page_details_v4.min.css">
<style>
    .xszh-toindex {margin: 20px 16px;border: 1px solid #e5e5e5;padding: 10px}
    .xszh-toindex>.wrap {position: relative;display: block;line-height: 25px;height: 24px;padding-left: 28px;padding-right: 20px;text-align: center}
    .xszh-toindex>.wrap .container {position: relative;display: inline-block;padding-left: 28px}
    .xszh-toindex>.wrap .logo {position: absolute;left: 0;top: 50%;margin-top: -12px;width: 24px;height: 24px}
    .xszh-toindex>.wrap .right {color:#2b9845}
</style>
<article id="J_article" class="J-article article">
    <div id="title">
        <div class="article-title">
            <h1 class="title">{$title}</h1>
        </div>
        <div class="article-src-time">
            <span class="src">{$inputtime}&nbsp;&nbsp;&nbsp;&nbsp;来源：{$copyfrom_name}</span>
        </div>
    </div>
    <style>
        #content{line-height:22px}
        #content img{max-width:100%;height:auto}
    </style>
    <div id="content" class="J-article-content article-content" data-pswp-uid="1">{$content}</div>
</article>
<div class="xszh-toindex">
    <a id="J_xszh_appdownload" class="wrap" href="javascript:;">
        <p class="container"><!-- <img class="logo" src="" alt=""> --><span class="right">返回首页查看更多 &gt;&gt;</span></p>
    </a>
</div>
<div id="news_check">
<!--
    <div id="J_interest_news" class="interest-news">
        <div class="section-title in-title">
            <h2><span></span>猜你喜欢<span class="line"></span></h2>
        </div>
        <div class="baidu-wrap" style="padding:0 16px 16px 16px">
           123123
        </div>
    </div>
-->
    <div id="J_hot_news" class="hot-news">
        <div class="comment-appbtn-wrap"></div>
        <div class="section-title hn-title">
            <h2><span></span>热点新闻<span class="line"></span></h2>
        </div>
        <div id="J_hn_list" class="hn-list">
            {pc:content  action="hits" catid="$catid" order="weekviews DESC" num="6"}
            {loop $data $key $val}
            {if $val['thumb']===''} 
            <section class="news-item news-img1">
                <a href="{$val['url']}" class="news-link">
                    <div class="news-wrap clearfix">
                        <div class="info" style="width:100%">
                            <h3 class="title dotdot line3">{$val['title']}</h3>
                            <p class="tags"><em class="tag tag-time">{date('m/j H:m',$val['inputtime'])}</em>
                            <em class="tag tag-src">未知来源</em>
                            </p>
                        </div>
                    </div>
                </a>
            </section>
            {else}
            <?php $thumb_arr=explode('|',$val['thumb']);?>
            {if count($thumb_arr) < 3}
            <section class="news-item news-img1">
                <a href="{$val['url']}" class="news-link">
                    <div class="news-wrap clearfix">
                        <div class="info">
                            <h3 class="title dotdot line3">{$val['title']}</h3>
                            <p class="tags"><em class="tag tag-time">{date('m/j H:m',$val['inputtime'])}</em><em class="tag tag-src">未知来源</em></p>
                        </div>
                        <div class="img img-bg"><img class="lazy image" data-original="{$thumb_arr[0]}"></div>
                    </div>
                </a>
            </section>
            {else}
            <section class="news-item news-img3">
                <a href="{$val['url']}" class="news-link">
                    <div class="news-wrap">
                       <div class="info">
                            <h3 class="title dotdot line3">{$val['title']}</h3>
                        </div>
                        <div class="img">
                        {loop $thumb_arr $key $vals}
                        {if $key < 3}
                            <div class="img-wrap img-bg"><img class="lazy image" data-original="{$vals}"></div>
                        {/if}
                        {/loop}
                        </div>
                        <p class="tags"><em class="tag tag-time">{date('m/j H:m',$val['inputtime'])}</em><em class="tag tag-src">未知来源</em></p>
                    </div>
                </a>
            </section>
            {/if}
            {/if} 
            {/loop}
            {/pc}
        </div>
    </div>
</div>
</body>
<script src="https://cdn.bootcss.com/zepto/1.2.0/zepto.min.js"></script>
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/jquery_lazyload/1.9.7/jquery.lazyload.min.js"></script>
<script type="text/javascript" charset="utf-8">
  $(function() {
      $("img.lazy").lazyload({effect: "fadeIn"});
  });
</script>
<script type="text/javascript" src="{APP_PATH}api.php?op=mycount&id={$id}"></script>
{template "content","footer","mobilephone"}